﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DeviceManager.DataAccessLayer;
using DeviceManager.BusinessLogicLayer;

namespace DeviceManagementIT.StatisticalReports.ListOfVouchers
{

    public partial class ListInventory : DevExpress.XtraEditors.XtraForm
    {
        InventoryBllOperation unitbll = new InventoryBllOperation();
        public ListInventory()
        {
            InitializeComponent();
        }

        private void sbtnLamTuoi_Click(object sender, EventArgs e)
        {
            List<KIEMKE> listunit = unitbll.GetRecordDevice(new KIEMKE());
            gridControl1.DataSource = listunit;
            //gridView1.Columns[1].Caption = "Tên Đơn Vị Tính";
            //gridView1.Columns[2].Caption = "Diễn Giải";
            //gridView1.Columns[0].Visible = false;
            //gridView1.Columns[3].Visible = false;
            //gridView1.Columns[4].Visible = false;
        }
    }
}